package com.dnjn.happiness.survey.api.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum DimensionalityGrade {
    A(8),
    B(6),
    C(4),
    D(2),
    S(10);
    private Integer value;

    public static DimensionalityGrade getValue(String code) {
        return DimensionalityGrade.valueOf(code);
    }
}
